///////////////////////////////////////////////////////////////////////////////
//
// Licensed under the MIT License
//
// Copyright (c) 2010 Chris Colinsky
// All Rights Reserved
//
// version	0.5
// http://code.google.com/p/sugarcookie/
// http://code.google.com/p/sugarcookie/wiki/License
//
////////////////////////////////////////////////////////////////////////////////

package sugarcookie.preloaders {
	import flash.events.IEventDispatcher;
	
	public interface IPreloader extends IEventDispatcher {
		function onShow():void;
		function onHide():void;
		function setPercent(p:Number):void;
		function progressComplete():void;
		
		/**
		 * EVENTS
		 * 
		 * Event.DEACTIVATE
		 * dispatched at the completion of the onHide method.
		 */
	}
}